import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {ScheduleComponent} from "./schedule/schedule.component";
import {WorkChangeComponent} from "./work-change/work-change.component";
import {DispatchGlcComponent} from "./dispatch-glc/dispatch-glc.component";
import {DispatchZxComponent} from "./dispatch-zx/dispatch-zx.component";
import {DispatchQsComponent} from "./dispatch-qs/dispatch-qs.component";
import {WaterRecordComponent} from "./water-record/water-record.component";
import {RealtimeOverviewComponent} from "./realtime-overview/realtime-overview.component";
import {DispatchRecordComponent} from "./dispatch-record/dispatch-record.component";
import {DispatchShComponent} from "./dispatch-sh/dispatch-sh.component";
import {EmergencyYjqComponent} from "./emergency-dispatch/emergency-yjq/emergency-yjq.component";
import {EmergencyHlsComponent} from "./emergency-dispatch/emergency-hls/emergency-hls.component";
import {EmergencyQxqComponent} from "./emergency-dispatch/emergency-qxq/emergency-qxq.component";
import {EmergencyDgqComponent} from "./emergency-dispatch/emergency-dgq/emergency-dgq.component";
import {EmergencyHomeComponent} from "./emergency-dispatch/emergency-home/emergency-home.component";
import {DispatchGyshComponent} from "./dispatch-gysh/dispatch-gysh.component";
import {DispatchStComponent} from "./dispatch-st/dispatch-st.component";
import {JrsqBigComponent} from "./zx-panel2/jrsq-big.component";


const routes: Routes = [
  {
    path: '', children: [
      {path: 'overview', component: RealtimeOverviewComponent},
      {path: 'schedule', component: ScheduleComponent},
      {path: 'work-change', component: WorkChangeComponent},
      {path: 'dispatch-glc', component: DispatchGlcComponent},
      {path: 'dispatch-zx', component: DispatchZxComponent},
      {path: 'dispatch-qs', component: DispatchQsComponent},
      {path: 'dispatch-sh', component: DispatchShComponent},
      {path: 'dispatch-gysh', component: DispatchGyshComponent},
      {path: 'dispatch-st', component: DispatchStComponent},
      {path: 'water-record', component: WaterRecordComponent},
      {path: 'dispatch-record', component: DispatchRecordComponent},
      {path: 'emergency-yjq', component: EmergencyYjqComponent},
      {path: 'emergency-hls', component: EmergencyHlsComponent},
      {path: 'emergency-qxq', component: EmergencyQxqComponent},
      {path: 'emergency-dgq', component: EmergencyDgqComponent},
      {path: 'emergency-home', component: EmergencyHomeComponent},
      {path: 'jrsq', component: JrsqBigComponent},
    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class RealtimeControlRoutingModule {
}
